import request from '@/sheep/request';

const ContactApi = {
  // 查询重要日期
  queryImportDays: (data) => {
    return request({
      url: '/relation/contact/queryImportDays',
      method: 'POST',
      data,
      custom: {
        auth: true
      },
    });
  },
  // 删除重要日期
  deleteImportDay: (data) => {
    return request({
      url: '/relation/contact/deleteImportDay',
      method: 'POST',
      data,
      custom: {
        auth: true,
        successMsg: '删除成功'
      },
    });
  },
  // 添加或修改重要日期
  addOrUpdateImportDay: (data) => {
    return request({
      url: '/relation/contact/addOrUpdateImportDay',
      method: 'POST',
      data,
      custom: {
        auth: true,
        successMsg: '设置成功'
      },
    });
  },

};

export default ContactApi;
